# $Id: PKGBUILD 66678 2012-02-27 10:01:18Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Tom K <tomk@runbox.com>
# Contributor: Todd Musall <tmusall@gmail.com>

pkgname=gnubiff-gtk
pkgver=2.2.15
pkgrel=1
pkgdesc="Mail notification program that checks for mail and displays headers when new mail has arrived. GTK version."
arch=('i686' 'x86_64')
url="http://gnubiff.sourceforge.net/"
license=("GPL")
depends=('libglade' 'gtk3' 'openssl' 'popt')
makedepends=('intltool')
conflicts=('gnubiff')
source=(http://downloads.sourceforge.net/sourceforge/gnubiff/gnubiff-$pkgver.tar.gz)
md5sums=('c705e1135b0bd4c8d8f7ce72ca7b5443')

build() {
  cd $srcdir/gnubiff-$pkgver
  export LDFLAGS=-lX11
  ./configure --prefix=/usr --disable-gnome --disable-fam --with-password --with-password-string="65423957eb027b94c9e661611c0e4271"
  make
  make DESTDIR=$pkgdir install
  rm -rf $pkgdir/usr/lib
  rm -rf $pkgdir/usr/share/gnome-2.0
  rm -rf ${pkgdir}/usr/share/info/dir
}
